<template>
  <el-row :gutter="0" class="wallpaper-container">
    <el-col :span="24" class="wallpaper-desktop">
      <div id="pc-background">
        <div class="center-container">
          <div class="center-image-box">
            <img
              class="center-img-1 animate__animated animate__fadeInUp"
              src="https://cia.hyperos.mi.com/hyperos2-homepage/opening_version_pc.png?imageMogr2/thumbnail/800x/quality/80/format/webp"
              alt=""
            />
            <img
              class="center-img-2 animate__animated animate__fadeInUp"
              src="https://cia.hyperos.mi.com/hyperos2-homepage/opening_slogan_temp.png?imageMogr2/thumbnail/1000x/quality/80/format/webp"
              alt=""
            />
          </div>
        </div>
      </div>
    </el-col>
  </el-row>
</template>

<script setup lang="ts"></script>

<style lang="scss" scoped>
  .wallpaper-container,
  .wallpaper-desktop {
    width: 100%;
    height: 100vh;
    z-index: 10;
  }

  #pc-background {
    width: 100%;
    height: 100%;
    background-image: url("https://cia.hyperos.mi.com/hyperos2-homepage/opening_pc_temp.png?imageMogr2/thumbnail/2900x/quality/80/format/webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }

  .center-container {
    width: 50%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding-top: 100px;
  }

  .center-image-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .center-img-1 {
    max-width: 100%;
    max-height: 60%;
  }

  .center-img-2 {
    max-width: 100%;
    max-height: 30%;
  }
</style>
